<template>
    <div>
      <ul class="nav nav-tabs">
        <li>
          <router-link to="/home/news">news</router-link>
        </li>
        <li>
          <router-link to="/home/messages">messages</router-link>
        </li>
      </ul>

      <!--显示路由组件-->
      <router-view></router-view>
    </div>
</template>

<script>
    export default {
        name: "Home"
    }
</script>

<style scoped>

</style>
